//
//  UserBookModuleConfigurator.swift
//  readmate
//
//  Created by fallen.ink on 01/07/2017.
//  Copyright © 2017 fallen.ink. All rights reserved.
//

import Foundation
import UIKit

class UserBookModuleConfigurator {
    // MARK: Object lifecycle
    static let sharedInstance = UserBookModuleConfigurator()
    private init() {}
    
    // MARK: View entrance
    
    func configureUserBookDetailView() -> _Scene {
        return _Scene()
    }
    
    func configureUserBookListView() -> _Scene {
        
        let scene = UserBookListScene();
        
        let presentor = UserBookListPresentor(output: scene);
        let interactor = UserBookListInteractor(output: presentor);
        
        scene.output = interactor;
        
        return scene
    }
    
    func configureUserBookAddView() -> _Scene? {
        return nil
    }
    
}
